
<div class="container">
			<div class="section-top-content flex items-center">
				<h1>所有职位</h1>
				<h1><a href="?r=company/work_add">添加职位</a></h1>
			</div> <!-- end .section-top-content -->
			<div class="jobs-table">
				<div class="table-header">
					<div class="table-cells flex">
						<div class="job-title-cell"><h6>Have many goods job!</h6> </div>			
					</div> <!-- end .table-cells -->
				</div> <!-- end .table-header -->
			<table class="table table-hover">
				 <tr class="active">
					  <td class="active">职位名称</td>
					  <td class="success">职位薪资</td>
					  <td class="warning">职位招聘人数</td>
					  <td class="danger">职位招聘基本要求</td>
					  <td class="success">发布\未发布</td>
					  <td class="info">操作</td>
				 </tr>
				 <?php 	foreach($data as $v){ ?>
				<tr class="success">
				  <td class="active"><h6><?php echo $v['JName'] ?></h6></td>
				  <td class="success"><h6><?php echo $v['JSalary'] ?></h6></td>
				  <td class="warning"><h6><?php echo $v['JNum'] ?></h6></td>
				  <td class="danger"><h6><?php echo $v['JRequ'] ?></h6></td>
				<td class="success"><h6><?php  if($v['JStatus']==0){ echo '未发布';}else{ echo '已发布';} ?></h6></td>
				  <td class="info"><a href="?r=company/work_del&JId=<?php echo $v['JId'] ?>">删除</a>||
				  <?php if($v['JStatus']==0){ ?>
				  <a href="?r=company/work_fabu&JId=<?php echo $v['JId'] ?>">发布</a></td>
				  <?php }else{ ?>
				  <a href="?r=company/work_quxiao&JId=<?php echo $v['JId'] ?>">取消发布</a></td>
				  <?php } ?>
				</tr>
				<?php } ?>
			</table>	
			
				
	
				
			</div> <!-- end .jobs-table -->
		</div> <!-- end .container -->
